option 2: The sum of codeword lengths must be less than or equal to D.